#include <stdio.h>
int main()
{
    float bz1, sx, bz2, jx = 0;
    scanf("%f %f %f", &bz1, &sx, &bz2);
    if (sx == 0)
        sx = 2.455;
    else
        sx = 1.26;
    jx = bz1 * sx;
    printf("%.2f ", jx);
    if (jx < bz2)
        printf("^_^");
    else
        printf("T_T");
    return 0;
}
